package kr.hkit.powerjava.chapter23;

public class MyThreadTest {
	public static void main(String[] args) {
		Thread t= new MyTherad();
		t.start();
		for(char ch= 'a';ch<='z'; ch++){
			System.out.print(ch+" ");
			try {Thread.sleep(500);} catch (InterruptedException e) {}
		}
		Thread t2=new Thread(new Myrunnable());
		t2.start();
		
		for(char ch= 'a';ch<='z'; ch++){
			System.out.print(ch+" ");
			try {Thread.sleep(500);} catch (InterruptedException e) {}
		}
		System.out.println("Main Thread 종료");
	}
}
